package com.lin.spzx.manager;


import com.lin.spzx.manager.properties.MinioProperties;
import com.lin.spzx.manager.properties.UserAuthProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.lin.spzx"})
@EnableConfigurationProperties(//优化拦截器，通过读取配置文件
        value = {UserAuthProperties.class, MinioProperties.class})
public class ManagerApplication {

    public static void main(String[] args) {

        SpringApplication.run(ManagerApplication.class , args) ;
    }

}